//
//  CoreModel.m
//  project_delicious
//
//  Created by dlios on 15-4-3.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "CoreModel.h"

@implementation CoreModel
- (instancetype)initWithDic:(NSMutableDictionary *)dic
{
    self = [super init];
    if (self) {
        self.nameLabel = [dic objectForKey:@"shop_name"];
        self.distanceLabel = [dic objectForKey:@"distance"];
        self.imageViewUrl = [dic objectForKey:@"share_url_and_id"];
        self.cost = [dic objectForKey:@"arg_spend"];
        self.share = [dic objectForKey:@"sharecount"];
        self.shopId = [dic objectForKey:@"shop_id"];
    }
    return self;
}

@end
